package files;

import java.util.LinkedHashSet;
import java.util.TreeSet;

public class Sets {

	
	public static void main(String[] args) {
		LinkedHashSet<String> set1 = new LinkedHashSet<String>();
		set1.add("a");
		set1.add("b");
		
		System.err.println(set1);
		
		TreeSet<String> set2 = new TreeSet<String>();
		set2.add("b");
		set2.add("a");		
		
		System.err.println(set2);
		System.err.println(set1.equals(set2));
	}

}
